package com.fire.eyes.service.impl;

import com.fire.eyes.model.BannerDTO;
import com.fire.eyes.model.BannerReq;
import com.fire.eyes.model.TMitBanner;
import com.fire.eyes.dao.TMitBannerMapper;
import com.fire.eyes.service.ITMitBannerService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * banner表 服务实现类
 * </p>
 *
 * @author MIT123
 * @since 2018-05-02
 */
@Service
public class TMitBannerServiceImpl extends ServiceImpl<TMitBannerMapper, TMitBanner> implements ITMitBannerService {
	@Autowired
	TMitBannerMapper tMitBannerMapper;
	
	@Override
	public List<BannerDTO> findBannerList(BannerReq req) {
		return tMitBannerMapper.findBannerList(req);
	}

}
